#!/bin/bash
cp /config/game-server-config.php /entirety/database/game_server/__config.php
cp /config/passport-config.php /entirety/database/passport/__config.php
php /entirety/database/framework/main.php upgrade game_server
php /entirety/database/framework/main.php invoke  game_server dat_valid
php /entirety/database/framework/main.php invoke  game_server go_mdb
php /entirety/database/framework/main.php invoke  game_server go_dat
php /entirety/database/framework/main.php upgrade passport

# 需要先编译lua
 php /entirety/config/framework/main.php invoke game_server slua